package com.yance.fim.core.handler.codec;

import com.yance.fim.core.enums.Code;
import com.yance.fim.core.handler.Codec;

@Codec(Command.CONNECT_ACK)
public class ConnectAckHandler extends WsImHandler<String, String>{
    @Override
    public byte[] request(com.yance.fim.core.enums.Command command, Code code, String request) {
        return new byte[0];
    }

    @Override
    public String result(com.yance.fim.core.enums.Command cmd, Code code, String b) {
        if(Code.CONNECTION_ACCEPTED == code){

        }
        return b;
    }
}
